<?php echo $this->load->view('_elements/registratednavigation'); ?>

<div id="content">
    <div id="centerbar">
     <?php if(empty($message_error)):?>
        <div class="titleI"><?php echo $Title; ?></div>
        <div id="prForm" class="blockstyle form" style="padding-bottom:40px;">

        	<div id="prID_Status" class="formElement">
				<div class="blue formText"><?php echo $this->user_model->fields['member_id']; ?></div>
				<?php echo form_input('member_id', 'M'.$member_id, 'id="prMemberId" class="formInput" style="width:100px;" disabled="disabled"')?>
				<div class="blue formText"><?php echo $this->user_model->fields['status']; ?></div>
				<?php echo form_input('status',$status , 'id="prStatus" class="formInput" style="width:100px;" disabled="disabled"')?>
			</div>
			<div id="prReferral_Date" class="formElement">
				<div class="blue formText"><?php echo $this->user_model->fields['referral_no']; ?></div>
				<?php echo form_input('referral_no',$result['ur_id'] , 'id="prReferralNo" class="formInput" style="width:100px;" disabled="disabled"')?>
				<div class="blue formText"><?php echo $this->user_model->fields['date_posted']; ?></div>
				<?php echo form_input('date_posted', $result['ur_date_posted'], 'id="prDatePosted" class="formInput" style="width:100px;" disabled="disabled"')?>
			</div>
			<div id="prReferralAbstract" class="formElement">
				<div class="blue formText"><?php echo $this->user_model->fields['referral_abstract']; ?></div>
				<?php echo form_input('referral_abstract', $result['ur_abstract'], 'class="formInput" style="width:550px;" disabled="disabled"')?>
			</div>
			<div id="prReferralDetails" class="formElement">
				<div class="blue formText"><?php echo $this->user_model->fields['referral_details']; ?></div>
				<?php echo form_textarea('referral_details', $result['ur_details'], 'class="formInput" style="width:550px;" disabled="disabled"')?>
			</div>
			<div id="prEndDate" class="formElement">
				<div class="blue formText"><?php echo $this->user_model->fields['end_date']; ?></div>
                <?php echo form_input('end_date', $result['ur_end_date'], 'id="end_date" class="formInput" size="10" disabled="disabled"')?>
			</div>
			<div id="prAskPrice" class="formElement">
				<div class="blue formText"><?php echo $this->user_model->fields['ask_price']; ?></div>
				<?php echo form_input('ask_price', $result['ur_ask_price'], 'class="formInput" style="width:100px;" disabled="disabled"')?>
			</div>
		</div>
        <?php else:?>
            <?php echo $message_error?>
        <?php endif;?>
    </div>

 <?php echo $this->load->view('_elements/Followrefs'); ?>
</div>
